import http from '@/config/request'

/**
 * 人脸识别打卡
 * @param {FormData} formData - 包含人脸图片的FormData对象
 * @returns {Promise} 返回打卡请求的Promise对象
 */
export const faceRecognition = (formData) => {
  return http.post('/attendance/face', formData, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}



